package org.nimi317.web_gis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.nimi317.web_gis.entity.Model;
import org.nimi317.web_gis.form.post.ModelPagePost;
import org.nimi317.web_gis.form.post.ModelPost;
import org.springframework.web.multipart.MultipartFile;

/**
 * 模型(Model)表服务接口
 *
 * @author makejava
 * @since 2024-05-13 15:29:25
 */
public interface ModelService extends IService<Model> {

    void train(ModelPost post, MultipartFile file);

    void handleError(Integer id);

    void handleSuccess(Integer id, String s);

    void handleRunning(Integer id);

    IPage<Model> pageModel(ModelPagePost post);
}

